504bcbbae140b996f4c529321c1c5abd4b6d3764,org.eclipse.triquetrum.workflow.repository.impl.filesystem/src/main/java/org/eclipse/triquetrum/workflow/repository/impl/filesystem/ModelHandleImpl.java,ModelHandleImpl,getModel,#,79

Before Change


	public CompositeActor getModel() throws TriqException {
    if (model == null && getResourceLocation()!=null) {
      try {
        model = WorkflowUtils.readFrom(getResourceLocation());
      } catch (Exception e) {
        throw new TriqException(ErrorCode.MODEL_LOADING_ERROR, "Error parsing model definition for " + code + " v " + version, e);
      }

After Change


	public CompositeActor getModel() throws TriqException {
    if (model == null && getResourceLocation()!=null) {
      try {
        model = (CompositeActor) WorkflowUtils.readFrom(getResourceLocation());
      } catch (Exception e) {
        throw new TriqException(ErrorCode.MODEL_LOADING_ERROR, "Error parsing model definition for " + code + " v " + version, e);
      }